package com.zyq.model.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 前十帖子
 * @author: zyq
 * @create: 2022-03-03
 **/
@Data
@Accessors(chain = true)
@ApiModel(value = "最新10帖子/文章")
public class HomePage10Response {

    @ApiModelProperty("帖子id")
    private Long id;

    @ApiModelProperty("帖子内容/文章标题")
    private String contentOrTitle;

    private String time;
}
